fix(platform): use LLMOps span ID in trace header#1547
Merged
Conversation
The trace header now prefers the external (LLMOps) span over the raw OTEL span, so the span ID in the header matches what's visible in the LLMOps trace UI. This enables end-to-end correlation between agent traces and downstream service logs (e.g. Context Grounding / ECS). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
e281b07 to
d1d9b0d
Compare
Closed
4 tasks
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
d1d9b0d to
143ac18
Compare
ionmincu
approved these changes
Apr 8, 2026
cfauchere
pushed a commit
to UiPath/uipath-langchain-python
that referenced
this pull request
Apr 8, 2026
Bump minimum uipath-platform dependency to pick up the trace header fix (UiPath/uipath-python#1547) which uses the LLMOps span ID in x-uipath-traceparent-id for end-to-end correlation. Note: uipath-platform minimum kept at >=0.1.20 until 0.1.22 is published. Must be updated to >=0.1.22 before release. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cfauchere
pushed a commit
to UiPath/uipath-langchain-python
that referenced
this pull request
Apr 8, 2026
Bump minimum uipath-platform dependency to pick up the trace header fix (UiPath/uipath-python#1547) which uses the LLMOps span ID in x-uipath-traceparent-id for end-to-end correlation. Note: uipath-platform minimum kept at >=0.1.20 until 0.1.22 is published. Must be updated to >=0.1.22 before release. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cfauchere
pushed a commit
to UiPath/uipath-langchain-python
that referenced
this pull request
Apr 8, 2026
Bump minimum uipath-platform dependency to pick up the trace header fix (UiPath/uipath-python#1547) which uses the LLMOps span ID in x-uipath-traceparent-id for end-to-end correlation. Note: uipath-platform minimum kept at >=0.1.20 until 0.1.22 is published. Must be updated to >=0.1.22 before release. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cfauchere
pushed a commit
to UiPath/uipath-langchain-python
that referenced
this pull request
Apr 8, 2026
Bump minimum uipath-platform dependency to pick up the trace header fix (UiPath/uipath-python#1547) which uses the LLMOps span ID in x-uipath-traceparent-id for end-to-end correlation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_inject_trace_contextnow prefers the external (LLMOps) span over the raw OTEL span when building thex-uipath-traceparent-idheader@tracedSDK span IDs which are not in the LLMOps trace, making correlation impossibleTest plan
95eb5d6c5cec2544matches thetest(contextGroundingTool) span in the LLMOps traceFailed to detach contexterrorsValidation
🤖 Generated with Claude Code